package com.bwda.dsrs.filecenter.mapper.dsrs;

import com.bwda.dsrs.filecenter.domain.po.kmsscene.KmsScenePo;
import com.bwda.dsrs.filecenter.domain.condition.kmsscene.KmsSceneCondition;
import feign.Param;

/**
 * Kms scene mapper
 * @author Administrator
 */
public interface KmsSceneMapper extends BaseMapper<KmsScenePo, KmsSceneCondition> {
    /**
     * 批量删除场景
     *
     * @param sceneId 场景ID
     */
    void deleteByIds(@Param("sceneId") Integer[] sceneId);

    /**
     * 场景-code名称是否已存在
     *
     * @param po po
     * @return the int
     */
    int countByTaskCode(KmsScenePo po);
}